package org.example.biz.impl;

import org.example.biz.ISysUserService;
import org.example.pojo.po.SysUser;
import org.springframework.stereotype.Service;

/**
 * @author lzh
 * @date 2020/8/26 - 15:07
 */
@Service
public class SysUserServiceImpl implements ISysUserService {
    @Override
    public SysUser getById(Long id) {
        if (id == 2L){
            SysUser sysUser = new SysUser();
            sysUser.setId(2L);
            sysUser.setPassword("1sd3f1");
            sysUser.setUsername("wer3r");
            return sysUser;

        }

        return null;
    }
}
